export const useMenuStore = defineStore('menu', {
  state: () => ({
    navs: [] as Array<any>,
    token: null as any,
    ultraInfo: null as any,
    appFlushed: false,
    originMenus: [] as Array<any>,
    loadedMenus: [] as Array<any>,
    menusForRoute: [] as Array<any>,
    menusForNav: [] as Array<any>
  }),
  actions: {},
  persist: {
    storage: sessionStorage,
    paths: ['token']
  }
})
